<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<link rel="stylesheet" href="__PUBLIC_CSS__/Public/Css/public.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>查看用户</title>

<head>
</head>

<body>

    <table class="table">
        <tr>
            <th>ID</th>
			<th>用户名</th>
			<th>微博UID</th>
			<th>邮箱</th>
			<th>上次登录</th>
			<th>登陆IP</th>
			<th>是否锁定</th>
        </tr>
        <foreach name="result" item="v">
        	<tr>
        		<td>{$v.id}</td>
        		<td>{$v.username}</td>
        		<td>{$v.uid}</td>
        		<td>{$v.email}</td>
        		<td>{$v.logintime|date="Y-m-d H:i:s",###}</td>
        		<td>{$v.loginip}</td>

        		<if condition="$v.lock eq 0">
        			<td>正常 <a href="{:U("/Admin/User/lockUserHandle",array("username"=>$v['username']))}">锁定</a></td>
				<else/>
					<td>锁定 <a href="{:U("/Admin/User/unlockUserHandle",array("username"=>$v['username']))}">解锁</a></td>
        		</if>
        	</tr>
        </foreach>
    </table>

</body>

</html>
